<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      .rotate_arrow {
        position: relative;
        width: 200px;
        margin: 100px auto;
        padding: 5px 10px;
        border: 2px dashed darkorange;
      }
      .rotate_arrow::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 20px;
        margin: auto;
        width: 6px;
        height: 6px;
        border-right: 2px solid red;
        border-bottom: 2px solid red;
        transform: rotate(45deg);
        transition: transform 0.5s;
      }
      .rotate_arrow:hover::after {
        transform: rotate(225deg);
      }
    </style>
  </head>

  <body>
    <div class="rotate_arrow">roteta旋转模拟箭头..</div>
  </body>
</html>
